package com.scorpio.redis.constant;

public class RedisConstants {
    /**
     * 验证码 redis key
     */
    public static final String CAPTCHA_CODE_KEY = "captcha_codes:";

    /**
     * 验证码有效期（分钟）
     */
    public static final Integer CAPTCHA_EXPIRATION = 2;

    /**
     * 登录用户 redis key
     */
    public static final String LOGIN_TOKEN_KEY = "login_tokens:";

    /**
     * 防重提交 redis key
     */
    public static final String REPEAT_SUBMIT_KEY = "repeat_submit:";

    /**
     * 参数管理 cache key
     */
    public static final String SYS_CONFIG_KEY = "sys_config:";

    /**
     * 字典管理 cache key
     */
    public static final String SYS_DICT_KEY = "sys_dict:";

    /**
     * 文件数据缓存
     */
    public static final String SYS_OSS_FILE_KET = "sys_oss:";

    /**
     * 系统线程锁
     */
    public static final String SYS_LOCK_KEY = "sys_lock_key:";

    /**
     *
     */
    public static final String SYS_CACHE_KEY = "sys_cache:";


}
